package 编程题4;

public class Test {
    public static void main(String[] args) {
        Person person = new Person("樊军刚","男",21);
        person.eat();
        person.sleep();
        person.work();
        Student student = new Student("宝鸡文理",8);
        student.getSchool();
        student.getXuHao();
        student.work();
        student.eat();
        student.sleep();
    }
}
